//token判断
import Cookies from "js-cookie";
//定义三种类型
const TokenKey = 'loginToken'; //登录标签
//获取
export function getToken() {
    return Cookies.get(TokenKey)
}
//设置
export function setToken() {
    return Cookies.set(TokenKey, token)
}
//移除
export function removeToken() {
    return Cookies.remove(TokenKey)
}